package com.ymatou.iapi.usersafe.parameter;


public enum LoginTypeEnum {

    UserNameAndPasswordLogin(1, "普通登录"),

    SafeLogin(2, "安全登录"),

    ThirdPartyLogin(3, "第三方登录");


    /**
     * 枚举值
     */
    private int code;

    /**
     * 枚举描述
     */
    private String message;


    LoginTypeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 获取枚举值
     *
     * @return
     */
    public int getCode() {
        return code;
    }

    /**
     * 获取枚举描述
     *
     * @return
     */
    public String getMessage() {
        return message;
    }


}
